<div class="row">
  <form name="ptForm" role="form" ng-submit="update()">

    <div class="form-group">
      <label for="">Student</label>
      <span class="form-control">{{ pt.Student.FullName }}</span>
    </div>

    <!-- <div class="form-group">
      <label for="class">* Classroom</label>
      <select name="class" id="class" class="form-control" ng-options="class.Id as class.Name for class in classrooms" ng-model="ptNew.Classroom.Id" required>
        <option value="" ng-hide="ptNew.Classroom.Id">Please Select a Classroom</option>
      </select>
    </div> -->

    <div class="form-group" ng-click="openDatepicker($event, 0)">
      <label for="">Date</label>
      <div class="input-group">
        <input type="hidden" class="form-control" datepicker-popup="{{format}}" ng-model="pt.DateTime" is-open="datePicker.isOpen[0]" min-date="initDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" ng-disabled="true" datepicker-localdate />
        <span class="form-control">{{ pt.DateTime | date: 'dd MMMM yyyy' }}</span>
        <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
      </div>
    </div>

    <div class="form-group">
      <label for="">Time</label>
      <timepicker ng-model="pt.DateTime" hour-step="timepicker.hstep" minute-step="timepicker.mstep" show-meridian="timepicker.isMeridian"></timepicker>
    </div>

    <div class="form-group">
      <label for="courseLevels">
      Course
      </label>
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-9 col-lg-7">
          <span class="error" ng-show="ptForm.courseLevels.$error.required">Required!</span>
          <select name="courseLevels" id="courseLevels" class="form-control" ng-model="pt.CourseLevel.Id" ng-options="course.Id as course.Name for course in courseLevels">
            <option value="" ng-hide="pt.CourseLevel.Id">Select an course</option>
          </select>
        </div>
      </div>
    </div>

    <button type="submit" class="btn btn-primary" >Submit</button>
  </form>
</div>